package com.team.easybuy.service;


import com.team.easybuy.entity.Car;

import java.util.List;

public interface CarService {

    String addProInCar(Car car, Integer id);

    List<Car> loadCarList(Integer id);

    String addNumByPro(Integer pId, Integer id, Integer stock);

    String delNumByPro(Integer pId, Integer id);

    boolean delInCar(Integer pId, Integer id);

    boolean delAllCar(Integer id);
}
